package base.generic.demo05;

import org.junit.Test;

/**
 * 泛型方法定义 测试
 * public <T> String showType(T t){}
 */
public class TestCase {

    @Test
    public void testCase(){
        GenericMethods gm = new GenericMethods();

        System.out.println(gm.showType(""));//java.lang.String
        System.out.println(gm.showType(123));//java.lang.Integer
    }
}
